#!/usr/bin/env python3

from functools import reduce

def run(n1, n2):
    print(n1, n2)
    return n1 + n2

def main():
    reduce(run, [1, 2, 3, 4, 5, 6, 7])

if __name__ == "__main__":
    main()
